<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title></title>
    <link rel="stylesheet" href="../../frame/layui/css/layui.css">
    <link rel="stylesheet" href="../../frame/static/css/style.css">
    <!-- <link rel="stylesheet" href="../frame/static/ztree/css/zTreeStyle/zTreeStyle.css" type="text/css"> -->
    <link rel="icon" href="../../frame/static/image/code.png">
</head>

<body class="body">

    <!--查询条件:工具条-->
    <form class="layui-form" action="" target="nm_iframe">
        <blockquote class="layui-elem-quote">
            <div class="layui-form-item">
                <span class="fl">
                    <a class="layui-btn" id="add">新增</a>
                </span>
                <span class="layui-form-label" style="width: auto;">名称：</span>
                <div class="layui-input-inline" style="width: 200px;">
                    <input type="text" id="menuNameInput" autocomplete="off" placeholder=" 请输入菜单名称" class="layui-input" />
                </div>
                <button type="button" data-method="queryHandler" class="layui-btn" id="query">查询</button>
                <button type="reset" id="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </blockquote>
    </form>

    <!--表格-->
    <div class="layui-row layui-col-space10">
        <div class="layui-col-xs12 layui-col-sm10 layui-col-md12">
            <div id="dataTable" lay-filter="dataTable"></div>
        </div>
    </div>

    <!--新增菜单-->
    <div style="display: none" id="addMenuPage" lay-filter="addMenuPage">
        <form class="layui-form" action="####" style="margin-right: 5%; margin-top: 10px;height: 500px" id="itemAddForm">
            <div class="layui-form-item">
                <label class="layui-form-label">名称:</label>
                <div class="layui-input-block">
                    <input type="text" id="menuNameAdd" name="menuNameAdd" autocomplete="off" class="layui-input" />
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">父级名称:</label>
                <div class="layui-input-block">
                    <select name="parentNameAdd" id="parentNameAdd" lay-verify="required">
                        <option value="0"></option>
                    </select>
                </div>
            </div>
			<div class="layui-form-item">
				<label class="layui-form-label">地址:</label>
				<div class="layui-input-block">
					<input type="text" id="pathAdd" name="pathAdd" autocomplete="off" class="layui-input" value="pages/"/>
				</div>
			</div>
        </form>
    </div>
    <div id="withdrawContainer" style="display:none">
        <table id="withdrawTable" lay-filter="withdraw"></table>
    </div>

    <script type="text/javascript" src="../../frame/layui/layui.js"></script>
    <script type="text/javascript" src="../../js/index.js"></script>
    <!--引入树插件-->
    <!-- <script type="text/javascript" src="../frame/static/ztree/jquery.ztree.all.min.js"></script> -->
    <script type="text/javascript" src="../../js/menu.js"></script>
    <!-- 表格操作按钮集 -->
    <script type="text/html" id="barOption">
        <a class="layui-btn layui-btn-mini layui-btn-normal" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-mini layui-btn-danger" lay-event="del">删除</a>
    </script>
</body>

</html>
